package cn.toma.service.sys;

import cn.toma.core.Service;
import cn.toma.model.sys.SysLog;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.aspectj.lang.ProceedingJoinPoint;
import org.springframework.scheduling.annotation.Async;

import java.util.List;


public interface LogService extends Service<SysLog>
{

	List<SysLog> findLogs(SysLog sysLog);

	void deleteLogs(String[] logIds);

	@Async
	void saveLog(ProceedingJoinPoint point, SysLog log) throws JsonProcessingException;
}
